package com.example.swimmingpool.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrderInfoVo {
    private Long id;
    private BigDecimal price;

    private String orderStatus;

    private List<OrderBuyVo> orderBuyVos;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private LocalDateTime orderTime;

    private Long userId;

    private String username;

    private String avatar;

}
